//
//  SearchDetail.h
//  CarHome
//
//  Created by 蒋寒霄 on 14-9-24.
//  Copyright (c) 2014年 WJN_work@163.com. All rights reserved.
//

#import <UIKit/UIKit.h>
typedef void(^SearchDetailBlock)(NSString *urlStr);
typedef void(^SearchStyleBlock)(NSString *cardId, NSString *specitem, NSString *title);
@interface SearchDetail : UIView<UITableViewDataSource, UITableViewDelegate>
{
    UITableView *_searchTableView;
        //第一个section数据
    NSMutableDictionary *_seriesmodel;
    //2
    NSMutableArray *_speclistModel;
    //3
    NSMutableDictionary *_imgmodel;
    //4.
    NSMutableArray *_naturemodel;
    
    //网址接口
    NSString *_firstURL;
    NSMutableString *_nextURL;
}

@property (nonatomic, retain) NSMutableString *name;//搜索字
@property (nonatomic, retain) NSMutableString *searchNum;//搜索记录
@property (nonatomic, copy)SearchDetailBlock block;
@property (nonatomic, copy)SearchStyleBlock styleBlock;
- (void)setResultDictionary:(NSDictionary *)dic url:(NSString *)strUrl;
- (void)setSearchDetailBlock:(SearchDetailBlock)block;
- (void)setSearchStyleBlock:(SearchStyleBlock)styleBlock;
@end
